package com.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.dao.ExamAnswerRecordMapper;
import com.entity.ExamAnswerRecord;
/**
 * Version: V1.0    <br/>
 * Datetime:   2022/5/15 16:34   <br/>
 * Description: ${DES}
 *
 * @author: chen
 */
@Service
public class ExamAnswerRecordService{

    @Resource
    private ExamAnswerRecordMapper examAnswerRecordMapper;

    
    public int deleteByPrimaryKey(Integer id) {
        return examAnswerRecordMapper.deleteByPrimaryKey(id);
    }

    
    public int insert(ExamAnswerRecord record) {
        return examAnswerRecordMapper.insert(record);
    }

    
    public int insertSelective(ExamAnswerRecord record) {
        return examAnswerRecordMapper.insertSelective(record);
    }

    
    public ExamAnswerRecord selectByPrimaryKey(Integer id) {
        return examAnswerRecordMapper.selectByPrimaryKey(id);
    }

    
    public int updateByPrimaryKeySelective(ExamAnswerRecord record) {
        return examAnswerRecordMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(ExamAnswerRecord record) {
        return examAnswerRecordMapper.updateByPrimaryKey(record);
    }

}
